Hello,
I spent 5 years living in Spain. I'm there casually now. I don't recommend people to do things the way I do, unless they are single. I was traveling a lot at the time, and after spending three days in Barcelona, I decided to make it home base for me. It was not my first (no last) international move. It was a great city and I quickly made many friends by going to events and co-working spaces. Like every country, there are pros and cons. My recommendation is to really think about exactly what you want. Then go to both Portugal and Spain and visit several areas to find which one will be best for you.
Regards, Sally Pederson
IL Spain Correspondent